#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stddef.h>

#define OFFSETOF(strutype,member) (int)&(((strutype*)0)->member)

struct s4
{
	char ch;
	int n;
	char ch2;
}s;

int main()
{

	printf("%d\n", offsetof(struct s4, ch2));
	printf("%d\n", OFFSETOF(struct s4, ch2));
	return 0;
}